/*
 * Copyright (c) 2013, FPX and/or its affiliates. All rights reserved.
 * Use, Copy is subject to authorized license.
 */
package com.fpx.xms.api.base.model;

import java.util.Date;

/**
 * @author yepeng
 * @date 2015年7月22日
 */
public class OrderLifecycle {

    /** 取自序列 */
    private Long id;
    /** 平台CODE, 如AE */
    private String platformCode;
    /** 操作人的loginName */
    private String operator;
    /** 生命周期状态, @see {OrderLifeCycleActionEnum} */
    private String action;
    /** true表示action操作成功, false表示action操作失败 */
    private int status;
    /** 操作人所属机构 */
    private String locationCode;
    /** 操作人没有所属locationCode时, 把操作地点填写到该字段 */
    private String location;
    /** 客户单号 */
    private String orderNo;
    /** 服务商单号 */
    private String serveOrderNo;
    /** 4PX系统单号 */
    private String systemOrderNo;
    /** 执行action操作的时间 */
    private Date operateTime;
    /** 客户ID */
    private Long customerId;
    /** 产品二字码 */
    private String productCode;
    /** 仓库代码 */
    private String warehouseCode;
    /** 执行action操作的关键数据, json格式, 如{eventTime: yyyy-MM-dd, weight: 20kg} */
    private String detailData;
    /** 记录的创建时间 */
    private Date createTime;
    /** 记录的更新时间 */
    private Date updateTime;
    /** 揽收标识，0:不需要揽收，1：需要揽收，2：燕文揽收 */
    private String exField1;
    /** 扩展字段, 根据platformCode action等字段的不同, 所表示的意义可能会不一样 */
    private String exField2;
    /** 扩展字段, 根据platformCode action等字段的不同, 所表示的意义可能会不一样 */
    private String exField3;
    /** 扩展字段, 根据platformCode action等字段的不同, 所表示的意义可能会不一样 */
    private String exField4;
    /** 扩展字段, 根据platformCode action等字段的不同, 所表示的意义可能会不一样 */
    private String exField5;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPlatformCode() {
        return platformCode;
    }

    public void setPlatformCode(String platformCode) {
        this.platformCode = platformCode;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getLocationCode() {
        return locationCode;
    }

    public void setLocationCode(String locationCode) {
        this.locationCode = locationCode;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getServeOrderNo() {
        return serveOrderNo;
    }

    public void setServeOrderNo(String serveOrderNo) {
        this.serveOrderNo = serveOrderNo;
    }

    public String getSystemOrderNo() {
        return systemOrderNo;
    }

    public void setSystemOrderNo(String systemOrderNo) {
        this.systemOrderNo = systemOrderNo;
    }

    public Date getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getDetailData() {
        return detailData;
    }

    public void setDetailData(String detailData) {
        this.detailData = detailData;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getExField1() {
        return exField1;
    }

    public void setExField1(String exField1) {
        this.exField1 = exField1;
    }

    public String getExField2() {
        return exField2;
    }

    public void setExField2(String exField2) {
        this.exField2 = exField2;
    }

    public String getExField3() {
        return exField3;
    }

    public void setExField3(String exField3) {
        this.exField3 = exField3;
    }

    public String getExField4() {
        return exField4;
    }

    public void setExField4(String exField4) {
        this.exField4 = exField4;
    }

    public String getExField5() {
        return exField5;
    }

    public void setExField5(String exField5) {
        this.exField5 = exField5;
    }

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

}
